package cn.liuhuan1.blogsModel.service;

import cn.liuhuan1.blogsModel.dao.RecordDao;
import cn.liuhuan1.webModelBean.api.RecordImp;
import cn.liuhuan1.webModelBean.vo.RecordVo;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
public class RecordService implements RecordImp {
    @Autowired
    public RecordDao recordDao;

    @Override
    public List<RecordVo> getRecord(){
        List<RecordVo> recordVoList = recordDao.getRecord();
        return recordVoList;
    }
}
